package com.art.coconut.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum ChangeTypeEnum {
    ADDED(1, "ADDED"),
    REMOVED(2, "REMOVED"),
    MODIFIED(3, "MODIFIED"),
    UNCHANGED(4, "UNCHANGED"),
    ;
    private final Integer code;
    private final String desc;

    public static boolean equals(ChangeTypeEnum c1, ChangeTypeEnum c2){
        return c1.getCode().equals(c2.getCode());
    }
}
